<template>
    <field v-bind="$props">
        <div class="ui form">
            <textarea :disabled="disabled" :value="value" @input="evt => {this.$emit('input', evt.target.value)}"></textarea>
        </div>
    </field>
</template>


<script>
import Field from './Field'

export default {
    name: 'textarea-field',
    props: {
        ...Field.props,
        disabled: {
            type: Boolean,
        }
    },
}
</script>
